package edu.hz.util.web;

import lombok.Getter;

@Getter

public enum ApiResponseCode {

    SUCCESS("00000", "success"),
    RESOUCE_NOT_FOUND("00404", "resources not found"),
    FORBIDDEN("00403", "NO RIGHTS"),
    UNAUTHORIZED("00401", "plz login first"),
    INTERNAL_SERVER_ERROR("00500", "server error.");

    private String code;

    private String message;

    ApiResponseCode(String code, String message) {
        this.code = code;
        this.message = message;
    }





}
